package com.sluggard.security.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sluggard.security.manage.model.entity.DictDataEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典数据表 Mapper 接口
 * </p>
 *
 * @author lizheng
 * @since 2024-05-07
 */
public interface DictDataMapper extends BaseMapper<DictDataEntity> {

    List<DictDataEntity> selectByDictType(@Param("dictType") String dictType);

    void deleteByDictType(@Param("dictType") String dictType);
}
